package com.aust.furniture.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 顾客
 */
@Data
@TableName(value = "customer")
public class Customer implements Serializable {
    /*主键*/
    @TableField(value = "id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /*顾客名称*/
    private String name;

    /*顾客性别*/
    private String sex;
    /*顾客年龄*/
    private Integer age;
    /*身份证号*/
    private String number;
    /*会员等级*/
    private String membership;
    /*地址*/
    private String address;
}
